package edu.school.service;

import com.github.pagehelper.PageInfo;
import edu.school.entity.BigData;
import edu.school.entity.User;

import java.util.List;

public interface UserService {
    Boolean registe(User user);

    PageInfo<User> getPageList(Integer pageNum, Integer pageSize, User record);

    User findById(Integer id);

    boolean update(User record);
    boolean deleteUser(Integer id);

    int deleteMany(String[] arrayids);
    User login(String stuno,String pwd);
    List<User> getActiveUsers(int limit);
    List<BigData> selectBigData();

}
